package xxl.signals.impl.natives.sets 
{
	import flash.display.Stage;
	import flash.events.Event;
	import xxl.signals.api.natives.INativeDispatcher;
	/**
	 * ...
	 * @author XXL
	 */
	public class StageSignalSet extends InteractiveObjectSignalSet 
	{
		
		public function StageSignalSet(target:Stage, maybeRepeat:Boolean = false) 
		{
			super(target, maybeRepeat);
		}
		
		/**
		 * 当 Stage 对象进入或离开全屏模式时由 Flash Player 调度。
		 */
		public function get fullScreen():INativeDispatcher
		{
			return getNativeSignal(Event.FULLSCREEN);
		}
		
		/**
		 * 当鼠标指针移出 Flash Player 窗口区域时由 Stage 对象进行调度。
		 */
		public function get mouseLeave():INativeDispatcher
		{
			return getNativeSignal(Event.MOUSE_LEAVE);
		}
		
		/**
		 * 当 Stage 对象的 scaleMode 属性设置为 StageScaleMode.NO_SCALE 且 SWF 文件大小经过重新调整时进行调度。
		 */
		public function get resize():INativeDispatcher
		{
			return getNativeSignal(Event.RESIZE);
		}
		
	}

}